//
//  PACACalendarView.h
//  ICrEAM
//
//  Created by rainimute on 16/12/22.
//  Copyright © 2016年 mac. All rights reserved.
//

#import <UIKit/UIKit.h>
@class PACACalendarView;
@protocol PACACalendarViewDelegate <NSObject>

@optional
- (void)calendarView:(PACACalendarView *)calendarView didSelectedDate:(NSDate*)selectedDate;
//清空时间
- (void)delTime:(PACACalendarView *)calendarView;

@end

@interface PACACalendarView : UIView

@property (nonatomic, weak) id<PACACalendarViewDelegate>delegate;

+ (instancetype)createCalendarViewWithDidSelectedDate:(NSDate *)didSelectedDate minDate:(NSDate *)minDate maxDate:(NSDate *)maxDate andFrame:(CGRect)frame;

@end
